package com.yd.domain.business;

import com.yd.domain.commom.DomainObject;
import com.yd.domain.sys.DicEnum;

import java.util.List;

/**
 * @author zy
 * @create 2018-04-28 10:21
 * @desc 商品一级导航
 **/
public class GTypeOne extends DomainObject<GTypeOne>{
    private String title;
    private String sort;
    private List<GType> typeList;
    private List<GStyle> styleList;
    private String haveType= DicEnum.TYPE_CHILD.HAVE_SECOND;//默认是有二级的，如果没有的话直接查询三级
    private String iconUrl;

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public String getHaveType() {
        return haveType;
    }

    public void setHaveType(String haveType) {
        this.haveType = haveType;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public List<GType> getTypeList() {
        return typeList;
    }

    public void setTypeList(List<GType> typeList) {
        this.typeList = typeList;
    }

    public List<GStyle> getStyleList() {
        return styleList;
    }

    public void setStyleList(List<GStyle> styleList) {
        this.styleList = styleList;
    }

    @Override
    public String toString() {
        return "GTypeOne{" +
                "title='" + title + '\'' +
                ", sort='" + sort + '\'' +
                ", typeList=" + typeList +
                ", styleList=" + styleList +
                ", haveType='" + haveType + '\'' +
                ", iconUrl='" + iconUrl + '\'' +
                '}';
    }
}
